﻿using RpcModel;
using Wedonek.RpcStore.Service.Model;

namespace Wedonek.RpcStore.Service.Interface
{
        public interface IRpcControlCollect
        {
                void CheckIsRepeat (string ip, int port);
                int Add (RpcControl add);
                void Delete (RpcControlInfo control);
                RpcControlInfo Get (int id);
                RpcControlInfo[] Query (IBasicPage paging, out long count);
                void Set (RpcControlInfo control, RpcControl set);
        }
}